package com.xieli.invitesdk.ui

import android.os.Bundle
import android.view.View
import com.xieli.invitesdk.databinding.ActivityRuleBinding
/**
 * @Auther sr
 * @Date 2023/9
 * @Description 邀请有礼规则页面
 */
class RuleActivity : BaseActivity() {
    private lateinit var dataBinding: ActivityRuleBinding
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        dataBinding = ActivityRuleBinding.inflate(layoutInflater)
        setContentView(dataBinding.root)
        dataBinding.click = this

    }

    override fun onViewClick(view: View) {
        when(view){
            //关闭
            dataBinding.btnBack,dataBinding.btnToinvite ->{
                finish()
            }
        }
    }
}